package com.itheima.接口.接口入门_01;

public class Person {
    public void eat(){}
    public void sleep(){}

    public void swimming(){
        System.out.println("人学会仰泳");
    }
}
class Dog implements Swim{
    public void swimming(){
        System.out.println("狗学会了狗刨");
    }
}